package dao;

import model.Goods;
import model.Order;
import model.User;


public interface AdminDAO {

    <T> T getT(Class<T> c);

    int orderUpdate(Order order,String name,String address,String phone);

    int userDelete(String name);

    int userUpdateLevel(User user, String role);

    int goodNumberUpdate(Goods goods, String name, int number);

    int goodPriceUpdate(Goods goods,String name,double price);

    int goodDelete(String name);

}
